import { createRouter, createWebHashHistory, RouteRecordRaw } from "vue-router";
import { componentList } from './routers'
const routes: Array<RouteRecordRaw> = [
	{
		path: "/",
		name: "home",
        redirect:'/button',
		// @ts-ignoreg
        children: componentList
	}
];

const router = createRouter({
	history: createWebHashHistory(process.env.BASE_URL),
	routes,
});

export default router;